package fun._6742.service;

import fun._6742.model.valueobject.UserVO;
import fun._6742.request.LoginRequest;
import fun._6742.request.RegisterRequest;
import fun._6742.request.UpdateUserInfoRequest;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    UserVO findUserDetail();

    void userRegister(String captchaKey, RegisterRequest registerRequest);

    String userLogin(LoginRequest loginRequest, HttpServletRequest httpRequest);

    void updateUserDetail(UpdateUserInfoRequest updateUserInfoRequest);

    void addPoints(Integer amount);

    void checkPhoneUnique(String phone);
}
